﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
                   namespace="PSAdmin.Core.Domain"
                   assembly="PSAdmin.Core">
  <class name="PSScriptVariable" table="PSScriptVariables" dynamic-update="true">
    <id name="Id" unsaved-value="0">
      <generator class="hilo"/>
    </id>
    <property name="Name" type="string"/>
    <property name="Description" type="string"/>
    <property name="Token" type="string"/>
    
    <many-to-one name="Script" class="PSScript" column="PSScriptId" not-null="true"/>
  </class>
</hibernate-mapping>